About Hexo

Some notes for Hexo usage

  1. Install

    λ sudo npm install -g hexo-cli
    
  2. Check Version

    λ hexo -v
    
  3. Initialize

    λ hexo init Merle-Zhang.github.io
    λ cd Merle-Zhang.github.io
    λ npm install
    
  4. Server

    λ hexo server
    
  5. Config

    λ vi _config.yml
    

    Config Doc

  6. Initialization for depoly with git

    λ npm install hexo-deployer-git --save
    λ vi _config.yml
    

    Depoly Doc

  7. Watch

    λ hexo generate --watch
    

    Generating

More

How to use Hexo and deploy to GitHub Pages